package model

import (
	"test.com/project-common/errs"
)

var (
	RedisError      = errs.NewError(100, "Redis错误")
	DatabaseError   = errs.NewError(101, "数据库错误")
	DatabaseBad     = errs.NewError(101, "数据库写入异常")
	NolegalMobile   = errs.NewError(2001, "手机号格式不正确")
	CaptchaError    = errs.NewError(2002, "验证码错误")
	EmailExist      = errs.NewError(2003, "邮箱已存在")
	AccountExist    = errs.NewError(2004, "账号已存在")
	MobileExist     = errs.NewError(2005, "手机号已存在")
	CaptchaNotExist = errs.NewError(2006, "验证码已过期")
	AccountPwdFalse = errs.NewError(2007, "账号密码不正确")
)
